<style>
        .top_go_return {
        height: 40px;
        background-color: #1588f5;
    }
</style>


<div class="top_go_return Yy-d-flex Yy-ai-cen Yy-ju-sb">
    <span onclick="YyBack()" class="layui-icon layui-icon-left layui-font-20 Yy-color-fff"></span>
    <span class="top_go_return_title layui-font-16"></span>
    <span class="top_go_return_demo1"></span>
</div>


<script>
    if (window.location.pathname == '/web/HaiJiaoH5/watch_history/') {
       document.querySelector('.top_go_return_title').innerHTML="观看历史";
       document.querySelector('.top_go_return_title').style.color="#fff";
    }else {
        document.querySelector('.top_go_return_title').innerHTML = '';
    }
</script>